﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AJAX.aspx.cs" Inherits="Events.AJAX" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
        <h1>NENA Events</h1>
        <span class="style1">1. Select a Membership Option</span><br />
        <telerik:RadListBox ID="radListBoxMembership" runat="server" 
            AutoPostBack="True" onselectedindexchanged="SelectMembership">
        </telerik:RadListBox>
        <br />
        <br />
        <span class="style1">2. Select a Payment Option</span><br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            onselectedindexchanged="EventsDataGrid_SelectedIndexChange" AutoGenerateSelectButton="true" >            
            <Columns>
                <asp:BoundField DataField="EventId" HeaderText="EventId" 
                    SortExpression="EventId" ReadOnly="true" />
                <asp:BoundField DataField="Affiliate" HeaderText="Affiliate" 
                    SortExpression="Affiliate" Visible="false" />
                <asp:BoundField DataField="Description" HeaderText="Description" 
                    SortExpression="Description" />
                <asp:BoundField DataField="Description_Long" HeaderText="Description_Long" 
                    SortExpression="Description_Long" />
                <asp:BoundField DataField="ExpiredDate" HeaderText="Price Expiry Date" 
                    SortExpression="ExpiredDate" />
                <asp:BoundField DataField="URL" HeaderText="URL" SortExpression="URL"  Visible="false" />
                <asp:BoundField DataField="Fee" HeaderText="Price" SortExpression="Fee" />
                <asp:CheckBoxField DataField="Membership_Required" 
                    HeaderText="Membership_Required" SortExpression="Membership_Required" Visible="false" />
            </Columns>
        </asp:GridView>
        <br />
        <span class="style1">3. Select Your Sessions</span><br class="style1" />
        <asp:GridView ID="GridViewSlotSessions0" runat="server" 
            AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="SessionId" HeaderText="SessionId" 
                    SortExpression="SessionId" />
                <asp:BoundField DataField="Speaker" HeaderText="Speaker" 
                    SortExpression="Speaker" />
                <asp:BoundField DataField="Speaker_URL" HeaderText="Speaker_URL" 
                    SortExpression="Speaker_URL" />
                <asp:BoundField DataField="Type" HeaderText="Type" SortExpression="Type" />
                <asp:BoundField DataField="Time_Start" HeaderText="Time_Start" 
                    SortExpression="Time_Start" />
                <asp:BoundField DataField="Time_End" HeaderText="Time_End" 
                    SortExpression="Time_End" />
                <asp:BoundField DataField="Description" HeaderText="Description" 
                    SortExpression="Description" />
                <asp:BoundField DataField="Description_Long" HeaderText="Description_Long" 
                    SortExpression="Description_Long" />
                <asp:BoundField DataField="Description_Notes" HeaderText="Description_Notes" 
                    SortExpression="Description_Notes" />
                <asp:BoundField DataField="Comment_Description" 
                    HeaderText="Comment_Description" SortExpression="Comment_Description" />
                <asp:CheckBoxField DataField="Comment_Enabled" HeaderText="Comment_Enabled" 
                    SortExpression="Comment_Enabled" />
                <asp:CheckBoxField DataField="Active" HeaderText="Active" 
                    SortExpression="Active" />
            </Columns>
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="GetAll" TypeName="NENAData.Events.Slots.List">
            <SelectParameters>
                <asp:Parameter DefaultValue="2" Name="intEventGroupId" Type="Int32" />
            </SelectParameters>
        </asp:ObjectDataSource>

        <br />
    </form>
</body>
</html>
